import { getData } from '@/servers/http'
import type { CardInfoRes, RecordRes } from './interface'

// 【接口】游戏卡片
export const getTrainingsCardInfo = () => getData<any, CardInfoRes>(`/trainings/card-info`)

// 【接口】实训记录列表
export const getTrainingsRecords = (data: any) => getData<any, RecordRes>(`/trainings/record-list`, data)
